home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 4
/
FM Towns Free Software Collection 4 - Disc 1.iso
/
t_os
/
wstype
/
source
/
makefile
< prev
next >
Wrap
Makefile
|
1991-10-18
|
907b
|
30 lines
tmpfile = d:\tmp.mak
wstype.exp : wstype.o graph.o keyin.o window.o fswind.o fswind_n.o fswind_w.o \
getfiles.o asms.o dropdm.o icn.o tree.o dosint.o srom.o \
windmgr.o txwind.o beep.o others.o bufmgr.o optparse.o \
backg.o eyes.o scroll.o clck.o disp.o roll.o werror.o wconf.o \
wcall.o whelp.o
echo -N -T1000 a:/usr/lib/crt0i.o a:/usr/lib/rin.o>$(tmpfile)
!echo $**>>$(tmpfile)
echo -La:/usr/lib -lt -lr -lmy -lce>>$(tmpfile)
run386 a:\usr\bin\ld @$(tmpfile)
del $(tmpfile)
run386 a:\usr\bin\size a.out>size
# run386 a:\usr\bin\nm a.out>$*.map
run386 d:\genexp3 a.out $@
del a.out
type size
.SUFFIXES: .o .exp .c .s
.s.o:
run386 d:\gas -o $*.o $<
.c.o:
run386 d:\cpp -D__GNUC__ -DTOWNS -I. -I a:/usr/include $< $*.i
run386 d:\cc1 -O -Wall -Wcast-qual -fforce-mem -fforce-addr -ansi -pedantic -quiet $*.i
del $*.i
run386 d:\gas -o $*.o $*.s
del $*.s